package com.example.lvsuo.mapper;

import com.example.lvsuo.entity.Client;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.lvsuo.entity.vo.ClientVo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 客户表 Mapper 接口
 * </p>
 *
 * @author 心心念念
 * @since 2021-03-30
 */
public interface ClientMapper extends BaseMapper<Client> {


    void addClient(ClientVo c);

    @Select("SELECT LAST_INSERT_ID()")
    String queryId();

    List<Client> seniorQuery(ClientVo c);

}
